package zhouyi;
import java.util.Arrays;
public class File4 {
    private int num1;
    private int num2;
    int arr2[] = new int[2];

    public int getNum1() {
        return num1;
    }

    public void setNum1(int num1) {
        this.num1 = num1;
    }

    public int getNum2() {
        return num2;
    }

    public void setNum2(int num2) {
        this.num2 = num2;
    }

    public void fan(int num1, int num2){
        int arr2[] ={num1,num2};
        System.out.println( "两个数组相加得第三个数组结果为"+ Arrays.toString(arr2));

    }
}
